package com.crl.ssc.dic.vo;

import com.cars.util.bean.BasePageSearchVO;
import com.cars.util.validation.DeleteValidGroup;
import com.cars.util.validation.GetValidGroup;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @description: 省份字典查询VO
 * @author: 孔垂云
 * @version: 1.0
 * @date: 2020/7/21 13:18
 */
@Data
public class DicProvinceSearchVO extends BasePageSearchVO {
    /**
     * 省份代码，删除和获取单个的时候不能为空
     */
    @NotEmpty(groups = {GetValidGroup.class, DeleteValidGroup.class})
    private String provinceCode;

    /**
     * 省份名称
     */
    private String provinceName;
}
